using ZR.Model.BaseFrame.Dto;
using ZR.Model.BaseFrame.Entity;
using ZR.Model.BaseFrame;
using ZR.Model.System.Vo;

namespace ZR.Service.BaseFrame.IService
{
    /// <summary>
    /// 模块服务接口
    /// </summary>
    public interface IModuleService : IModuleServiceBase
    {
        Task<List<ModuleEntity>> GetMenuTreeByUserId(long userId);

        List<RouterVo> BuildMenus(List<ModuleEntity> menus, ModuleEntity paMenu=null);
    }
}
